const mongoose = require('mongoose')

const Ad = mongoose.model('Ad', new mongoose.Schema({
    image: {type: String},
    name: {type: String},
    url: {type: mongoose.SchemaTypes.ObjectId, ref: 'Good'}
}))

module.exports = Ad